﻿using System.Collections;
using System.Collections.Generic;
using UnityEngine;

public class state_Start : MonoBehaviour {

	// Use this for initialization
	void Start () {
		var btn = this.transform.Find ("Button").GetComponent<UnityEngine.UI.Button> ();
		btn.onClick.AddListener (onBtnDown);
	}
	void onBtnDown()
	{
		UnityEngine.SceneManagement.SceneManager.LoadScene ("Level_Play");
	}
	// Update is called once per frame
	void Update () {
		
	}
}
